Fix bugs in vc-dir-mark-unmark and vc-dir-mark-all-files.
authorChong Yidong <cyd@gnu.org>
Mon, 19 Dec 2011 07:00:16 +0000 (15:00 +0800)
committerChong Yidong <cyd@gnu.org>
Mon, 19 Dec 2011 07:00:16 +0000 (15:00 +0800)
commit15f1a66f5799c33b24da31a5cce23331587aef0e
tree1104c4f78e3299ecb2cc559d413499116969bb07
parentb837c489e053318ffdb65a39ffaa4f95e420d125
Fix bugs in vc-dir-mark-unmark and vc-dir-mark-all-files.

* lisp/vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
Don't signal an error in a predicate function; return non-nil.
(vc-dir-mark-file): Move the error here.
(vc-dir-mark-unmark): If acting on the region, keep going if one
of the entries cannot be marked/unmarked.
(vc-dir-mark-all-files): If current entry is a directory, mark
only child files, as documented.
lisp/ChangeLog
lisp/vc/vc-dir.el